package com.orm.mybatisplus.mapper.master3;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.orm.mybatisplus.entity.AsusPoInfo;
import com.orm.mybatisplus.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * User Mapper
 * </p>
 *
 * @author yangkai.shen
 * @date Created in 2018-11-08 10:54
 */
public interface AsusPoInfoMapper3 extends BaseMapper<AsusPoInfo> {

    /**
     * 查询所有用户
     *
     * @return 用户列表
     */
    @Select("select * from flx.asus_po_info")
    List<AsusPoInfo> selectAllAsusPoInfo();

    /**
     * 查询所有用户
     *
     * @return 用户列表
     */
    @Insert("insert into flx.asus_po_info(ID,WO_NO,PO,PO_LINE,C_PO,SHIP_TYPE) values (#{id},#{woNo},#{po},#{poLine},#{cPo},#{shipType})")
    Integer insertAsusPoInfo(AsusPoInfo asusPoInfo);


}
